package top.huxy.boot.service;

import com.github.pagehelper.PageInfo;
import top.huxy.boot.model.dto.Pager;
import top.huxy.boot.model.dto.Query;
import top.huxy.boot.model.entity.ExceptionLog;
import top.huxy.boot.util.obj.Pagination;

import java.util.List;

/**
 * @Classname ExceptionLogService
 * @Description ExceptionLogService
 * @Date 2021/9/19 15:00
 * @Created by huxy
 */
public interface ExceptionLogService {

    void saveExceptionLog2Redis(ExceptionLog exceptionLog);
    int getExceptionLogCount();

    List<ExceptionLog> getExceptionLogList(Pagination pagination);

    PageInfo<ExceptionLog> getExceptionLogList(Pager pager, Query query);

    String saveRedisExceptionLog2DB();

    List<String> getExceptionLogExceptNames();
}
